/**
 * 我的纸条接口
 * */

const Router = require('express');
const router = new Router();
// 引入业务逻辑
const myScrip = require("../../../business/client/myScripDis");

// 获取纸条
router.post("/get_scrip", (req, res) => {
  myScrip.getScrip(req, res);
})

// 删除用户自己抽取或放入的纸条
router.post("/del_scrip", (req, res) => {
  myScrip.delScrip(req, res);
})

module.exports = () => {
  return router;
}